from model.yolov3.net import Darknet


def create_yolov3(cfg, device):
    return Darknet(cfg.model_def, img_size=cfg.img_size).to(device)